import { createApp } from "vue";
import { store } from "./store";
import { Area, Popup, Toast, Dialog, Button } from "vant";
import VueDOMPurifyHTML from "vue-dompurify-html";
import RouterViewTransition from "@/components/vue-router-transition";
// normalize.css
import "normalize.css/normalize.css";
// 全局样式
import "./styles/index.less";
// tailwindcss
import "./styles/tailwind.css";
// svg icon
import "virtual:svg-icons-register";
import App from "./App.vue";
import router from "./router";
import "@/bridge/index.js";
const app = createApp(App);

app.use(store);
app.use(router);
app.use(RouterViewTransition);
app.use(Area);
app.use(Popup);
app.use(Toast);
app.use(Dialog);
app.use(Button);
app.use(VueDOMPurifyHTML);

app.mount("#app");
